package personal.leihua;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Author leiHua
 * @Date 2022/9/8 17:34
 */
public class Test {
    public static void main(String[] args) throws InterruptedException {
        System.out.println("雷诏华"+new Date());
        System.out.println("输出九九乘法表");
        long time = new Date().getTime();
        for (int i = 1; i < 10; i++) {
            for (int j = 1; j <=i; j++) {
                String s = String.valueOf(i);
                String s1 = String.valueOf(j);
                System.out.print(s1+"*"+s+"="+i*j+" ");
            }
            System.out.println();
        }
        Date date2 = new Date();
        long time1 = new Date().getTime();
        System.out.println(time1);
        System.out.println(time);
        System.out.println("生成九九乘法表花费时间："+(time1-time)+"毫秒");
    }
}
